import store from '@/store'
export default (userId) => {
  let flag = false
  store.getters.addressList.forEach(item => {
    flag = item.data.some(it => it.user_id === userId)
    if (flag) return flag
  })
  return flag
}
